package com.ssyan.bridge;

/**
 * @author ssyan
 * @Description TODO
 * @create 2021/8/28 23:59
 * @Version 1.0
 */
public abstract class Phone {

    //组合品牌
    private Brand brand;

    public Phone(Brand brand) {
        this.brand = brand;
    }

    protected void open() {
        this.brand.open();
    }

    protected void close() {
        this.brand.close();
    }

    protected void call() {
        this.brand.call();
    }
}
